package com.yuba.front.domain.param;

import com.yuba.common.core.validate.AddGroup;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

@Data
public class CommentParam implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @NotNull(message = "front.comment.push.target.not.null", groups = {AddGroup.class})
    private Long targetId;

    @NotBlank(message = "front.comment.push.content.not.blank", groups = {AddGroup.class})
    private String content;

    private String replyContent;

    private Long score;

    private Long parentId;

    private Long replyUserId;
}
